<?php
// include the file containing initialization of the database and session
include_once('config.php');
include_once('model/users.php');

$data = array (
	"logged_in" 	=> Session::is_logged_in(),
	"contents" 		=> "all_users_view.php",	
	"session"       => Session::user(),
	"users"			=> Users::get_all_users()
);

$index_view = new Template('layout.php', $data);
$index_view->render();

?>